package com.haima.ziliao.domain;

import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haima.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haima.common.core.domain.BaseEntity;

/**
 * 课程视频对象 p_kevideos
 * 
 * @author hima
 * @date 2024-10-21
 */
public class PKevideos implements Serializable
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String miaoshu;

    /** 视频地址 */
    @Excel(name = "视频地址")
    private String srcpath;

    /** 视频封面 */
    @Excel(name = "视频封面")
    private String poster;

    /** 时长 */
    @Excel(name = "时长")
    private String shichang;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortby;

    /** 同步资料 */
    @Excel(name = "同步资料")
    private String ziliao;

    private Long gid;

    public Long getGid() {
        return gid;
    }

    public void setGid(Long gid) {
        this.gid = gid;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setMiaoshu(String miaoshu) 
    {
        this.miaoshu = miaoshu;
    }

    public String getMiaoshu() 
    {
        return miaoshu;
    }
    public void setSrcpath(String srcpath) 
    {
        this.srcpath = srcpath;
    }

    public String getSrcpath() 
    {
        return srcpath;
    }
    public void setPoster(String poster) 
    {
        this.poster = poster;
    }

    public String getPoster() 
    {
        return poster;
    }
    public void setShichang(String shichang) 
    {
        this.shichang = shichang;
    }

    public String getShichang() 
    {
        return shichang;
    }
    public void setSortby(Integer sortby) 
    {
        this.sortby = sortby;
    }

    public Integer getSortby() 
    {
        return sortby;
    }
    public void setZiliao(String ziliao) 
    {
        this.ziliao = ziliao;
    }

    public String getZiliao() 
    {
        return ziliao;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("miaoshu", getMiaoshu())
            .append("srcpath", getSrcpath())
            .append("poster", getPoster())
            .append("shichang", getShichang())
            .append("sortby", getSortby())
            .append("ziliao", getZiliao())
            .append("gid", getGid())
            .toString();
    }
}
